#include "ReadFile.h"
#include "PDA.h"

int main () {
    myKata kata;
    char s[100];
    int i;

    createEmpty(&kata);

    printf("Input File : ");
    scanf("%s",s);

    i = 0;
    while (s[i] != '\0') {
        kata.kata[i] = s[i];
        i++;
    }
    kata.length = i;
    
    PDA(kata);

/*
    openFile(kata);
    do {
        readLine();
        //line++;
        while (!EOL) {
            kata = getKata();
            printf("%s\n",kata.kata);
            printf("%d\n",kata.length);
        }
   } while (!EOf);
   closeFile();
*/
    return 0;
}
